//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.wechat.pay.java.service.partnerpayments.wxcodepay.model;

import com.google.gson.annotations.SerializedName;
import com.wechat.pay.java.core.util.StringUtil;

public class PrepayRequest {
    @SerializedName("sp_appid")
    private String spAppid;
    @SerializedName("sp_mchid")
    private String spMchid;
    @SerializedName("sub_appid")
    private String subAppid;
    @SerializedName("sub_mchid")
    private String subMchid;
    @SerializedName("description")
    private String description;
    @SerializedName("out_trade_no")
    private String outTradeNo;
    @SerializedName("attach")
    private String attach;
    @SerializedName("goods_tag")
    private String goodsTag;
    @SerializedName("support_fapiao")
    private Boolean supportFapiao;
    @SerializedName("amount")
    private Amount amount;
    @SerializedName("payer")
    private Payer payer;
    @SerializedName("detail")
    private Detail detail;
    @SerializedName("scene_info")
    private SceneInfo sceneInfo;
    @SerializedName("settle_info")
    private SettleInfo settleInfo;

    public PrepayRequest() {
    }

    public String getSpAppid() {
        return this.spAppid;
    }

    public void setSpAppid(String spAppid) {
        this.spAppid = spAppid;
    }

    public String getSpMchid() {
        return this.spMchid;
    }

    public void setSpMchid(String spMchid) {
        this.spMchid = spMchid;
    }

    public String getSubAppid() {
        return this.subAppid;
    }

    public void setSubAppid(String subAppid) {
        this.subAppid = subAppid;
    }

    public String getSubMchid() {
        return this.subMchid;
    }

    public void setSubMchid(String subMchid) {
        this.subMchid = subMchid;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getOutTradeNo() {
        return this.outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }


    public String getAttach() {
        return this.attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }


    public String getGoodsTag() {
        return this.goodsTag;
    }

    public void setGoodsTag(String goodsTag) {
        this.goodsTag = goodsTag;
    }


    public Boolean getSupportFapiao() {
        return this.supportFapiao;
    }

    public void setSupportFapiao(Boolean supportFapiao) {
        this.supportFapiao = supportFapiao;
    }

    public Amount getAmount() {
        return this.amount;
    }

    public void setAmount(Amount amount) {
        this.amount = amount;
    }

    public Payer getPayer() {
        return this.payer;
    }

    public void setPayer(Payer payer) {
        this.payer = payer;
    }

    public Detail getDetail() {
        return this.detail;
    }

    public void setDetail(Detail detail) {
        this.detail = detail;
    }

    public SceneInfo getSceneInfo() {
        return this.sceneInfo;
    }

    public void setSceneInfo(SceneInfo sceneInfo) {
        this.sceneInfo = sceneInfo;
    }

    public SettleInfo getSettleInfo() {
        return this.settleInfo;
    }

    public void setSettleInfo(SettleInfo settleInfo) {
        this.settleInfo = settleInfo;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class PrepayRequest {\n");
        sb.append("    spAppid: ").append(StringUtil.toIndentedString(this.spAppid)).append("\n");
        sb.append("    spMchid: ").append(StringUtil.toIndentedString(this.spMchid)).append("\n");
        sb.append("    subAppid: ").append(StringUtil.toIndentedString(this.subAppid)).append("\n");
        sb.append("    subMchid: ").append(StringUtil.toIndentedString(this.subMchid)).append("\n");
        sb.append("    description: ").append(StringUtil.toIndentedString(this.description)).append("\n");
        sb.append("    outTradeNo: ").append(StringUtil.toIndentedString(this.outTradeNo)).append("\n");
        sb.append("    attach: ").append(StringUtil.toIndentedString(this.attach)).append("\n");
        sb.append("    goodsTag: ").append(StringUtil.toIndentedString(this.goodsTag)).append("\n");
        sb.append("    supportFapiao: ").append(StringUtil.toIndentedString(this.supportFapiao)).append("\n");
        sb.append("    amount: ").append(StringUtil.toIndentedString(this.amount)).append("\n");
        sb.append("    payer: ").append(StringUtil.toIndentedString(this.payer)).append("\n");
        sb.append("    detail: ").append(StringUtil.toIndentedString(this.detail)).append("\n");
        sb.append("    sceneInfo: ").append(StringUtil.toIndentedString(this.sceneInfo)).append("\n");
        sb.append("    settleInfo: ").append(StringUtil.toIndentedString(this.settleInfo)).append("\n");
        sb.append("}");
        return sb.toString();
    }

}
